package javaBase.nowcoder.HJ7_B_取近似值;

import java.util.Scanner;

public class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        double d = Double.parseDouble(sc.nextLine());
        sc.close();
        System.out.println((int) (d + 0.5));
    }
}
